home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / FileSB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  2.5 KB  |  98 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: FileSB.h,v $ $Revision: 10.2 $ $Date: 1994/02/04 11:00:09 $ */
  9. /*
  10. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. #ifndef _XmFSelect_h
  14. #define _XmFSelect_h
  15.  
  16. #include <Xm/Xm.h>
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. #ifdef WINTIF
  23. #define XmNwintifFileCheck "wintifFileCheck"
  24. #define XmCWintifFileCheck "WintifFileCheck"
  25. #define XmNerrorDialogString "errorDialogString"
  26. #define XmCErrorDialogString "ErrorDialogString"
  27. #endif  /* WINTIF */
  28.  
  29. /* Type definitions for FileSB resources: */
  30.  
  31. #ifdef _NO_PROTO
  32.  
  33. typedef void (*XmQualifyProc)() ;
  34. typedef void (*XmSearchProc)() ;
  35.  
  36. #else
  37.  
  38. typedef void (*XmQualifyProc)( Widget, XtPointer, XtPointer) ;
  39. typedef void (*XmSearchProc)( Widget, XtPointer) ;
  40.  
  41. #endif
  42.  
  43.  
  44. /* Class record constants */
  45.  
  46. externalref WidgetClass xmFileSelectionBoxWidgetClass;
  47.  
  48. typedef struct _XmFileSelectionBoxClassRec * XmFileSelectionBoxWidgetClass;
  49. typedef struct _XmFileSelectionBoxRec      * XmFileSelectionBoxWidget;
  50.  
  51.  
  52. #ifndef XmIsFileSelectionBox
  53. #define XmIsFileSelectionBox(w) (XtIsSubclass((w),xmFileSelectionBoxWidgetClass))
  54. #endif
  55.  
  56.  
  57. /********    Public Function Declarations    ********/
  58. #ifdef _NO_PROTO
  59.  
  60. extern Widget XmFileSelectionBoxGetChild() ;
  61. extern void XmFileSelectionDoSearch() ;
  62. extern Widget XmCreateFileSelectionBox() ;
  63. extern Widget XmCreateFileSelectionDialog() ;
  64.  
  65. #else
  66.  
  67. extern Widget XmFileSelectionBoxGetChild( 
  68.                         Widget fs,
  69. #if NeedWidePrototypes
  70.                         unsigned int which) ;
  71. #else
  72.                         unsigned char which) ;
  73. #endif /* NeedWidePrototypes */
  74. extern void XmFileSelectionDoSearch( 
  75.                         Widget fs,
  76.                         XmString dirmask) ;
  77. extern Widget XmCreateFileSelectionBox( 
  78.                         Widget p,
  79.                         String name,
  80.                         ArgList args,
  81.                         Cardinal n) ;
  82. extern Widget XmCreateFileSelectionDialog( 
  83.                         Widget ds_p,
  84.                         String name,
  85.                         ArgList fsb_args,
  86.                         Cardinal fsb_n) ;
  87.  
  88. #endif /* _NO_PROTO */
  89. /********    End Public Function Declarations    ********/
  90.  
  91.  
  92. #ifdef __cplusplus
  93. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  94. #endif
  95.  
  96. #endif /* _XmFSelect_h */
  97. /* DON'T ADD ANYTHING AFTER THIS #endif */
  98.